{include file="layout/header" title="支付设置" /}
<div class="view-body">
    {include file="layout/menu" /}
    <div class="view-product">
        <div class="company_identify">
            <div class="manage-head">
                <h6 class="padding-left manage-head-con">
                    支付设置
                </h6>
            </div>
            <div class="layui-lr-20 clearfix">
                <fieldset class="layui-elem-field layui-field-title">
                    <legend>支付宝</legend>
                    <div class="layui-field-box">
                        <form action="{:url('admin/Config/save',['key'=>'payment'])}" class="layui-form" method="post" name="paymentForm">
                            <div class="layui-form-item margin-left-300 margin-top-25">
                                <label class="layui-form-label width-small">
                                    APPID
                                </label>
                                <div class="layui-input-inline" style="width:350px;">
                                    <input class="layui-input" lay-verify="required" name="alipay[appId]" type="text">
                                    </input>
                                </div>
                            </div>
                            <div class="layui-form-item margin-left-300">
                                <label class="layui-form-label width-small">
                                    APPSECRET
                                </label>
                                <div class="layui-input-inline" style="width:350px;">
                                    <input class="layui-input" lay-verify="required" name="alipay[appSecret]" type="text">
                                    </input>
                                </div>
                            </div>
                            <div class="layui-form-item margin-left-300">
                                <label class="layui-form-label width-small">
                                    商户号
                                </label>
                                <div class="layui-input-inline" style="width:350px;">
                                    <input class="layui-input" lay-verify="required" name="alipay[shopId]" type="text">
                                    </input>
                                </div>
                            </div>
                            <div class="layui-form-item margin-left-300">
                                <label class="layui-form-label width-small">
                                    支付密钥
                                </label>
                                <div class="layui-input-inline" style="width:350px;">
                                    <input class="layui-input" lay-verify="required" name="alipay[payKey]" type="text">
                                    </input>
                                </div>
                            </div>
                            <div class="layui-form-item margin-left-300">
                                <div class="layui-input-block margin-left-100">
                                    <button class="layui-btn layui-btn-normal" lay-filter="Yes1" lay-submit="">
                                        确定
                                    </button>
                                </div>
                            </div>
                        </form>
                    </div>
                </fieldset>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    var formObj = new Form('paymentForm');
    formObj.init({$payment});

</script>
{include file="layout/footer" /}
